package com.fwmagic.dp._4;

public class HummerH2Model extends HumanModel {

    //悍马2默认不按喇叭
    @Override
    protected boolean isAlarm() {
        return false;
    }

    @Override
    protected void start() {
        System.out.println("悍马H2发动");
    }

    @Override
    protected void stop() {
        System.out.println("悍马H2停车");
    }

    @Override
    protected void alarm() {
        System.out.println("悍马H2鸣笛");
    }

    @Override
    protected void engineBoom() {
        System.out.println("悍马H2引擎发动");
    }

}
